package com.ykq.dao;

import com.ykq.entity.Role;
import com.ykq.vo.RoleSearchVo;

import java.util.List;

/**
 * @Entity com.ykq.entity.Role
 */
public interface RoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    //根据条件分页查询角色信息
    List<Role> selectByConditionPage(RoleSearchVo searchVo);

}




